package 线程.day1.demo4;

import java.io.IOException;
import java.util.concurrent.Callable;

public class T implements Callable {
    @Override
    public Object call() throws Exception {
        int sum=0;
        for(int i=0;i<10000;i++){
            sum+=i;
        }
        throw new IOException();
        //return sum;
    }
}
